package com.tsunami.authority.entity.auth;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tsunami.base.entity.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * @Classname Server
 * @Description TODO
 * @Date 2021-11-29 11:31
 * @Created by lx
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@TableName("tnm_auth_server")
@ApiModel(value="Server", description="服务管理")
public class Server extends Entity {

    @ApiModelProperty(value = "服务名称")
    @TableField(value = "server_name")
    private String serverName;

    @ApiModelProperty(value = "服务代码")
    @TableField(value = "server_code")
    private String serverCode;

    @ApiModelProperty(value = "客户端ID")
    @TableField(value = "client_id")
    private String clientId;
}
